<template>
    <div class="dataInfo" v-if="isShow" v-for="(item, index) in list = 'list'" :key="index">
        <div class="upPart">
            <div class="title">
                <p>{{ item.address }}</p>
            </div>
            <div class="tags">
                <span v-for="(i, v) in item.tags" :key="v"><van-tag plain type="primary">{{ i.label }}</van-tag></span>
            </div>
            <div class="address"><van-icon name="guide-o" />
                <p>金融港</p>
            </div>
            <div class="time">
                <span>{{ item.time }}</span>
                <span><van-icon name="hot-o" />热度：{{ item.hot }}</span>
            </div>
        </div>
        <div class="imgPart">
            <img :src="'http://81.69.235.62:3000/' + item.imgs[0].url.slice(7)" alt="">
            <!-- {{item.imgs[0].url.slice(6) }} -->
        </div>
        <div class="content">
            <p>{{ item.content }}</p>
        </div>
        <hr>
        <div class="like">
            <div><van-icon name="good-job-o">1</van-icon></div>
            <div><van-icon name="edit">2</van-icon></div>
            <div><van-icon name="like-o">3</van-icon></div>
        </div>
    </div>
</template>

<script setup>
const props = defineProps({
    list: {
        type: Object
    }
})




</script>